﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InfoPick.Lib.Tools
{
    /// <summary>
    /// excel的映射关系
    /// 因为不同局的excel格式不同
    /// </summary>
    public class ExcelMapping
    {
        public static Dictionary<string, string> GetGMDDFMapping()
        {
            Dictionary<string, string> dict = new Dictionary<string, string>();
            dict.Add("Frame", "框号");
            dict.Add("Board", "板组号");
            dict.Add("Slot", "槽位号");
            dict.Add("Port", "端口号");
            dict.Add("Name", "机柜名称");
            dict.Add("Group", "架号-板面号-板号-端子号");
            return dict;
        }

        public static Dictionary<string, string> GetGSDDFMapping()
        {
            Dictionary<string, string> dict = new Dictionary<string, string>();
            dict.Add("Frame", "框号");
            dict.Add("Slot", "槽位号");
            dict.Add("Port", "端口号");
            dict.Add("Name", "机柜名称");
            dict.Add("Group", "架号-板面号-板号-端子号");
            return dict;
        }

        public static Dictionary<string, string> GetGMODFMapping()
        {
            Dictionary<string, string> dict = new Dictionary<string, string>();
            dict.Add("Frame", "框号");
            dict.Add("Board", "板组号");
            dict.Add("Slot", "槽位号");
            dict.Add("Port", "端口号");
            dict.Add("Name", "机柜名称");
            dict.Add("Position", "ODF位置");
            return dict;
        }
    }
}
